//
//  UIButton+EnlargeEdge.h
//  BTShike2
//
//  Created by ZDTX on 2019/6/8.
//  Copyright © 2021 Exsun. All rights reserved.
//

#import <UIKit/UIKit.h>
// 不改变按钮大小，扩大点击范围方式2


NS_ASSUME_NONNULL_BEGIN


@interface UIButton (EnlargeEdge)

// 设置可点击范围到按钮边缘的距离
-(void)setEnLargeEdge:(CGFloat)size;

// 设置可点击范围到按钮上、右、下、左的距离
-(void)setEnlargeEdgeWithTop:(CGFloat)top right:(CGFloat)right bottom:(CGFloat)bottom left:(CGFloat)left;

@end

NS_ASSUME_NONNULL_END
